package cfengMiddleware.server.service;

import CfengMiddleWare.model.entity.UserOrder;
import cfengMiddleware.server.dto.UserOderDto;

/**
 * @author Cfeng
 * @date 2022/9/18
 * 延迟业务
 */

public interface DeadUserOrderService {

    //用户下单，将下单记录id压入死信队列
    void pushUserOrder(UserOderDto userOderDto) throws Exception;

    //更新用户下单状态,修改数据库表
    void updateUserOrderRecord(UserOrder userOrder);
}
